<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
  <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  <link rel="stylesheet" href="../../../lib/layui/css/layui.css">
  <link rel="stylesheet" href="../../static/css/common.css">
  <link rel="stylesheet" href="../../static/css/settings.css">
  <title>区域设置</title>
</head>
<body>
<!--头部-->
<!--<header class="tophead" id="headerWrap"></header>-->
<!--主体-->
<div class="mainbody">
  <h3>区域设置</h3>
  <!--表格-->
  <div class="tables">
    <table lay-filter="setAreaTable" class="settingTable" lay-data="{id: 'area-table'}"></table>
  </div>
</div>
<!--新增按钮-->
<script type="text/html" id="toolbarArea">
  <div class="layui-btn-container">
    <button type="button" class="layui-btn layui-btn-normal layui-btn-sm addAreaBtn" lay-event="addArea">新增</button>
  </div>
</script>
<!--新增弹框-->
<script type="text/html" id="newAddArea">
  <div class="options">
    <form class="layui-form addAreas" lay-filter="AddForm" action="#">
      <div class="infowrap">
        <div class="layui-form-item">
          <label class="layui-form-label">序号</label>
          <div class="layui-input-inline">
            <input type="text" class="layui-input" name="sortSn">
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">区域名称</label>
          <div class="layui-input-inline">
            <input type="text" class="layui-input" name="areaName">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="fr">
            <button class="layui-btn layui-btn-sm" lay-submit lay-filter="AddForm">确定</button>
            <button type="cancel" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
          </div>
        </div>
      </div>
    </form>
  </div>
</script>
<!--行操作-->
<script type="text/html" id="rowOperate">
  <div class=" layui-btn-group">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <!--<a class="layui-btn layui-btn-xs" lay-event="del">删除</a>-->
  </div>
</script>
<!--行编辑弹窗-->
<script type="text/html" id="rowEdit">
  <form class="layui-form editAreas" lay-filter="rowEditForm" action="POST">
    <div class="infowrap">
      <input type="hidden" class="layui-input" name="areaId" readonly>
      <div class="layui-form-item">
        <label class="layui-form-label">序号</label>
        <div class="layui-input-inline">
          <input type="text" class="layui-input" name="sortSn">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">区域名称</label>
        <div class="layui-input-inline">
          <input type="text" class="layui-input" name="areaName">
        </div>
      </div>
      <div class="layui-form-item">
        <div class="fr">
          <button class="layui-btn layui-btn-sm" lay-submit lay-filter="rowEditForm">确定</button>
          <button type="cancel" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
        </div>
      </div>
    </div>
  </form>
</script>

</body>
</html>
<script src="../../../lib/layui/layui.js"></script>
<script src="../../static/js/common.js"></script>
<script src="../../static/js/file/area-setting.js"></script>
